import os.path


def project_root_path():
    """
    返回项目主目录的绝对路径
    :return: 项目主目录下的绝对路径
    """
    project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    return project_root

